package cn.elricyu.tt.config;

import java.util.List;

import cn.elricyu.tt.util.SystemUtil;

public class SiteUrlConfig {

	private static FileListConfig config = new FileListConfig(
			SystemUtil.getUserConfigDir() + "site.txt");

	public static List<String> saveUrl(String url) {
		return config.addLine(url);
	}

	public static List<String> removeUrl(String url) {
		return config.removeLine(url);
	}

	public static List<String> getUrlList() {
		return config.getLineStringList();
	}
}
